/*
 * This source code is part of TWaver 4.0
 *
 * Serva Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2002 - 2011 Serva Software. All rights reserved.
 */

package demo;

import java.awt.BorderLayout;

import javax.swing.JFrame;

import twaver.TWaverUtil;

public class DemoFrame extends JFrame {

    public DemoFrame(){
    	this.setTitle("TWaver " + TWaverUtil.getVersionString() + " Demos"); 	
    	this.getContentPane().setLayout(new BorderLayout());
    	this.getContentPane().add(new MainPane(), BorderLayout.CENTER);    	
    	this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    	this.setSize(800, 600);
    	TWaverUtil.centerWindow(this);
    }
}